﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="map.aspx.cs" Inherits="bzxxxt.map" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Button ID="btnInit" runat="server" OnClick="btnInit_Click" Text="初始化" />
        <asp:Button ID="btnExport" runat="server" OnClick="btnExport_Click" Text="导出Excel" />
        <asp:HyperLink ID="linkFile" runat="server">[linkFile]</asp:HyperLink><br />
        <asp:DropDownList ID="ddlPname" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPname_SelectedIndexChanged">
        </asp:DropDownList>
        <asp:Button ID="btnChange" runat="server" OnClick="btnChange_Click" Text=" 改名" />
        <asp:TextBox ID="txtname" runat="server"></asp:TextBox>
        <asp:GridView ID="gvMap" runat="server" AutoGenerateColumns="False" AutoGenerateDeleteButton="True" AutoGenerateEditButton="True" DataKeyNames="id" OnRowEditing="gvMap_RowEditing" OnRowUpdating="gvMap_RowUpdating" OnRowCancelingEdit="gvMap_RowCancelingEdit" OnRowDeleting="gvMap_RowDeleting">
            <Columns>
                <asp:BoundField DataField="id" HeaderText="ID" ReadOnly="True" />
                <asp:BoundField DataField="pname" HeaderText="骨灰堂名称" ReadOnly="True" />
                <asp:BoundField DataField="oldsection" HeaderText="原区号" ReadOnly="True" />
                <asp:BoundField DataField="oldline" HeaderText="原排号" ReadOnly="True" />
                <asp:BoundField DataField="ttype" HeaderText="类型" ReadOnly="True" />
                <asp:BoundField DataField="newnum" HeaderText="新编号" />
            </Columns>
        </asp:GridView>
    </div>
    </form>
</body>
</html>
